package com.fanbuchi.fukua.lock;

/**
 * Created by rabbit on 2015/6/27.
 * @title 内容锁
 * @title 登录锁
 */
public interface LockInterface {
    /**
     * @title 枷锁
     * @param orgin
     * @return
     */
    public Lock locked(byte[] orgin);

    /**
     * @title 解锁
     * @param orgin
     * @return
     */
    public boolean unlock(Lock key,byte[] orgin);

}
